home *** CD-ROM | disk | FTP | other *** search
/ PC Media 3 / PC MEDIA CD03.iso / share / udos / propr110 / propr.doc < prev    next >
Encoding:
Text File  |  1992-12-10  |  9.6 KB  |  250 lines

  1.  
  2.  
  3.  
  4.      PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated            Page 1
  5.  
  6.  
  7.      TO PRINT THIS FILE, TYPE "COPY PROPR.DOC PRN" AT THE DOS PROMPT.
  8.  
  9.  
  10.      OVERVIEW
  11.      --------
  12.      PROPR is a command-line utility which allows you to send ANY commands
  13.      to your IBM Proprinter compatible printer. PROPR has over 50 built-in
  14.      commands, and it also gives you the ability to create and store your
  15.      own, using binary, octal, decimal, hex, and text codes. Commands can
  16.      be stacked, and they can be sent to any device or file.
  17.  
  18.  
  19.      DISCLAIMER
  20.      ----------
  21.      PROPR is distributed on an "AS IS" basis without warranty, expressed
  22.      or implied. Considerable testing effort has been expended, but the
  23.      user is advised to check the program's suitability before relying on
  24.      it. The user assumes full risk as to the results of using this
  25.      program. In no event shall the author be liable for any incidental or
  26.      consequential damages arising from the use, or inability to use this
  27.      program.
  28.  
  29.  
  30.      REGISTRATION
  31.      ------------
  32.      PROPR is freely distributable and fully functional, and may be used
  33.      for a 30-day trial period. If you plan to continue using PROPR, you
  34.      are obligated to pay the modest registration fee of $10. This one-time
  35.      fee allows you unlimited use of this and all future versions of PROPR.
  36.  
  37.      All registration information is contained in the PROPR.REG file. If
  38.      that file is missing, register by sending a check or money order for
  39.      $10 in U.S. dollars to:
  40.  
  41.         Copy Con Incorporated
  42.         PO Box 23255
  43.         Baltimore MD 21203-5255
  44.  
  45.      We thank you for your support.
  46.  
  47.  
  48.  
  49.      PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated            Page 2
  50.  
  51.  
  52.      OPERATION
  53.      ---------
  54.      PROPR is activated from the command line, using the format
  55.  
  56.         PROPR [/device] command[-] [command[-]]...
  57.  
  58.      By default, PROPR sends commands to the LPT1 device. To specify
  59.      another, use the /device switch, specifying a valid device or
  60.      filename; for example,
  61.  
  62.         PROPR /lpt2 reset
  63.  
  64.      sends the reset command to the device connected to LPT2.
  65.  
  66.      PROPR has over 50 built-in commands, and they can be sent individually
  67.      or combined with other commands. A command directly followed by a -
  68.      (minus sign) disables the command, where applicable; for example,
  69.  
  70.         PROPR italic underline-
  71.  
  72.      enables italics and disables underlining.
  73.  
  74.      Commands do not need to be typed out in their entirety; only as much
  75.      of the command that distinguishes it from other commands is needed;
  76.      for example, when sending subscript and superscript commands,
  77.      "PROPR su" would send subscript because it alphabetically precedes
  78.      superscript; "PROPR sup" would send superscript. When using PROPR
  79.      inside batch files, it is a good idea to use the full command, as
  80.      future versions of PROPR may have more built-in commands that may be
  81.      similar to existing commands.
  82.  
  83.  
  84.      BUILT-IN COMMANDS
  85.      -----------------
  86.  
  87.      Command           Description
  88.  
  89.      1/6               Sets paper feed amount to 1/6 inch
  90.      1/8[-]            Sets paper feed amount to 1/8 inch
  91.      7/72[-]           Sets paper feed amount to 7/72 inch
  92.      AutoLF[-]         Automatically send a LF after a CR
  93.      BackSpace         Prints buffer and backspaces one space
  94.      Bell              Sounds buzzer
  95.      BoldPS[-]         Selects Bold PS font
  96.      Cancel            Clears all data in the buffer
  97.      Char              Print continuously from All Character Chart
  98.      Char1             Print next character from All Character Chart
  99.      Compressed[-]     Sets printing to 17 CPI
  100.      Courier[-]        Selects Courier font
  101.      CR                Prints buffer and starts next line at left margin
  102.      DeSelect[-]       Disables printer from receiving data
  103.      Double[-]         Sets double printing
  104.      Draft[-]          Selects Draft font
  105.      Elite[-]          Sets printing to 12 CPI
  106.  
  107.  
  108.  
  109.      PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated            Page 3
  110.  
  111.  
  112.      BUILT-IN COMMANDS (continued)
  113.      -----------------------------
  114.  
  115.      Command           Description
  116.  
  117.      Emphasized[-]     Sets printing to twice the original dot density
  118.      Escape            Sends the escape ($1B) code
  119.      FF                Prints buffer and feeds paper to next TOF position
  120.      Flush             Prints all data in buffer
  121.      HalfLF            Prints buffer and feeds paper 1/12 inch
  122.      IBM1              Selects IBM 1 character set
  123.      IBM2              Selects IBM 2 character set
  124.      Italic[-]         Selects Italic font
  125.      LF                Prints buffer and executes a single line feed
  126.      Multilingual      Selects Multilingual character set
  127.      NLQ[-]            Selects NLQ font
  128.      Null              Sends the null ($00) code
  129.      Overline[-]       Sets continuous overlining of characters
  130.      PaperOut[-]       Enables paper out detector
  131.      Pica[-]           Sets printing to 10 CPI
  132.      Prestige[-]       Selects Prestige font
  133.      Proportional[-]   Sets proportional spacing between characters
  134.      Reset             Resets printer to initial state
  135.      Roman[-]          Selects Roman font
  136.      SansSerif[-]      Selects Sans Serif font
  137.      Script[-]         Selects Script font
  138.      Select[-]         Enables printer to receive data
  139.      Single[-]         Sets single direction printing mode
  140.      SubScript[-]      Selects subscript font
  141.      SuperScript[-]    Selects superscript font
  142.      Tab               Sends the horizontal tab ($09) code
  143.      TabClear          Sets all tabs to initial settings
  144.      Tall[-]           Sets double height character printing
  145.      TOF               Sets top of form
  146.      Underline[-]      Sets continuous underlining of characters
  147.      USA               Selects USA character set
  148.      VTab              Sends the vertical tab ($11) code
  149.      Wide[-]           Sets double width character printing
  150.      Wide1[-]          Sets double width character printing for one line
  151.  
  152.  
  153.      CREATING NEW COMMANDS
  154.      ---------------------
  155.      If you want to send a code that is not already built-in, you can
  156.      create your own using binary, octal, decimal, hex, and text codes.
  157.      Binary codes must be preceded with the % symbol, octal with the &
  158.      symbol, + for decimal, $ for hex, and ' for text; for example,
  159.  
  160.         PROPR $1b 'P +1
  161.  
  162.      sends 1B in hex, 'P' in text, and 1 in decimal. To send an entire text
  163.      string, you still use the ' symbol, but you must also enclose the
  164.      entire string in quotes; for example,
  165.  
  166.         PROPR bold "'one two three" bold-
  167.  
  168.      prints "one two three" in bold.
  169.  
  170.  
  171.  
  172.      PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated            Page 4
  173.  
  174.  
  175.      CREATING NEW COMMANDS (continued)
  176.      ---------------------------------
  177.      Strings of codes can be assigned a command name and stored in a
  178.      separate data file called PROPR.DAT, which must be kept in the same
  179.      directory as PROPR.EXE. PROPR.DAT will be searched first in case you
  180.      wish to redefine the internal commands. The format of each line of the
  181.      data file is as follows:
  182.  
  183.         command_name code [code]... [ - code [code]... ]
  184.  
  185.      The name must be left-justified (no left margin), and it cannot
  186.      contain any spaces. Following the name are the codes that enable the
  187.      command. If the command can be disabled, the enabling codes are
  188.      followed by a minus sign and the codes that disable the command. The
  189.      name, codes, and minus sign must be separated by spaces and/or tabs.
  190.      There is no limit to the number of commands, but there can only be one
  191.      command name per line.
  192.  
  193.      For example, let's create a new command called SkipPerf. The codes to
  194.      skip six lines at the bottom of each page are $1b, 'N, and +6. Using
  195.      any text editor, we create PROPR.DAT with the first line reading:
  196.  
  197.         SkipPerf $1b 'N +6
  198.  
  199.      Now, if we type "PROPR skip", $1b, 'N, and +6 will be sent. What if we
  200.      want to disable perforation skip? First, let's edit PROPR.DAT to read:
  201.  
  202.         SkipPerf $1b 'N +6 - $1b 'O
  203.  
  204.      Now, if we type "PROPR skip-", $1b and 'O will be sent, which are the
  205.      codes to disable perforation skip.
  206.  
  207.  
  208.      EXAMPLES
  209.      --------
  210.      PROPR
  211.        will show a help screen and a list of built-in commands.
  212.  
  213.      PROPR ff
  214.        sends a formfeed to the printer attached to LPT1.
  215.  
  216.      PROPR /lpt2 ff
  217.        sends a formfeed to the printer attached to LPT2.
  218.  
  219.      PROPR bold under- italic-
  220.        enables bold text, and disables underlining and italics.
  221.  
  222.      PROPR esc 'W +1
  223.        sends the escape code, the letter W, and character 1.
  224.  
  225.      PROPR "'line one" cr lf wide "'line two" wide- cr lf
  226.        prints two lines, the second one being of double width.
  227.  
  228.      PROPR /hi.txt tall wide bold under "'hello there" cr lf
  229.        sends "hello there" in tall, wide, bold, underlined characters, to
  230.        the file HI.TXT, which can be printed by typing "copy hi.txt lpt1".
  231.  
  232.  
  233.  
  234.      PROPR V1.10 Copyright (c) 1992 Copy Con Incorporated            Page 5
  235.  
  236.  
  237.      CORRESPONDENCE
  238.      --------------
  239.      If you have questions, comments, suggestions, bug reports, et cetera,
  240.      feel free to contact us by one of the following methods:
  241.  
  242.      1: By modem at The Programmer's Corner (301-596-7692 or 410-995-6873).
  243.         Send a message to user number 3000, and check back in a couple of
  244.         work days for a reply.
  245.  
  246.      2: By U.S. Mail at the address given on the first page. If you would
  247.         like a reply, please include a self-addressed, stamped envelope.
  248.  
  249.      We look forward to hearing from you.
  250.